package com.itheima.stock.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
//通过它可以把properties或者yml配置直接转成对象
@ConfigurationProperties(prefix = "stock")
public class StockInConfig {
  //a股大盘ID集合
  private List<String> inner;
  //外股ID集合
  private List<String> outer;
  //股票涨幅区间定义集合
  private  List<String> upDownRange;
  //大盘参数获取url
  private String marketUrl;
  //板块参数获取url
  private String blockUrl;
}
